package com.pig4cloud.pigx.contract.websocket.message;

import com.pig4cloud.pigx.common.websocket.message.AbstractJsonWebSocketMessage;
import com.pig4cloud.pigx.contract.dto.AppContractOptionalSymbolListDTO;

/**
 * app k线数据列表
 *
 * @date 2022/8/26 16:47
 */
public class AppContractOptionalSymbolListWebsocketMessage extends AbstractJsonWebSocketMessage {
    /**
     * 前端请求时会携带type，根据type匹配处理器
     */
    public static final String TYPE = "appCurrentOptionalSymbolList";

    public AppContractOptionalSymbolListDTO getData() {
        return data;
    }

    public void setData(AppContractOptionalSymbolListDTO data) {
        this.data = data;
    }

    private AppContractOptionalSymbolListDTO data;

    public AppContractOptionalSymbolListWebsocketMessage() {
        super(TYPE);
    }

}
